package com.shyroke.coineye.service.impl;

import com.shyroke.coineye.bean.AddCoinDto;
import com.shyroke.coineye.bean.DefaultShowCoin;
import com.shyroke.coineye.mapper.DefaultShowCoinMapper;
import com.shyroke.coineye.service.DefaultShowCoinService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 类名 ：
 * 用法 ：
 * 创建人 ： shyroke
 * 时间：2018/8/1 16:44
 */
@Service
public class DefaultShowCoinServiceImpl implements DefaultShowCoinService {

    @Autowired
    private DefaultShowCoinMapper defaultShowCoinMapper;

    @Override
    public List<DefaultShowCoin> getshowCoinList() {
        return defaultShowCoinMapper.selectAll();
    }
}
